#if !defined(AFX_MYAPPTHREAD_H__22996703_31D9_40BC_8452_1D8F9F1AF057__INCLUDED_)
#define AFX_MYAPPTHREAD_H__22996703_31D9_40BC_8452_1D8F9F1AF057__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include   <Wininet.h>   
#pragma   comment(lib,"Wininet")
// MyAppThread.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CMyAppThread thread

class CMyAppThread : public CWinThread
{
	DECLARE_DYNCREATE(CMyAppThread)
protected:
	CMyAppThread();           // protected constructor used by dynamic creation

// Attributes
public:

// Operations
public:
	CMyAppThread(const char* szLocDir)
	{
		m_szLocDir=szLocDir;
	}

protected:
	CString m_szLocDir;
	CString m_szServDir;

public:
	static UINT StartLocalFileList(LPVOID lParam);

protected:
	virtual UINT LocalFileList(LPVOID lParam);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyAppThread)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CMyAppThread();

	// Generated message map functions
	//{{AFX_MSG(CMyAppThread)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYAPPTHREAD_H__22996703_31D9_40BC_8452_1D8F9F1AF057__INCLUDED_)
